@import '../../../@theme/styles/themes.scss';

* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
table {
  width: 100%;
  line-height: 1.5em;
  border-collapse: collapse;
  border-spacing: 0;
}
tbody tr:nth-of-type(even) {
  background: nb-theme(table-tr-even-color);
}
tr:hover {
  background: nb-theme(table-tr-even-color);
}
th, td {
  border: 1px solid nb-theme(table-outline-color);
  vertical-align: middle;
  padding: 0.875rem 1.25rem;
  position: relative;
}
.insert th, .insert {
  padding: 0.375rem 0.5rem;
}

.insert-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem !important;
  padding: 0.375rem 0.5rem;
  border-color: nb-theme(color-primary-default);
  background-color: nb-theme(color-primary-default);
  color: #ffffff;
  border-radius: 0.375rem;
  &:hover {
    background-color: nb-theme(color-primary-hover);
  }
}
.insert input {
  width: 100%;
  line-height: 1.25rem;
  padding: .375em .75em;
  font-weight: 400;
  display: block;
  height: calc(1.5em + 0.75rem + 2px);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  &:focus {
    outline: 0;
  }
}
.action-edit, .action-del {
  a {
    color: nb-theme(card-text-color);
    display: inline-block;
    cursor: pointer;
    i {
      font-size: 2rem !important;
      line-height: 0;
      vertical-align: middle;
    }
  }
}
.action-edit {
  a {
    &:hover {
      color: nb-theme(link-text-hover-color);
    }
  }
}
.action-del {
  a {
    &:hover {
      color: red;
    }
  }
}
